package com.nit.lab.service;

import com.nit.lab.dto.*;
import com.nit.lab.dto.utils.DtoDataTable;

import java.util.List;

public interface OrderService {
    /**
     * @Description: 创建订单
     * @Author: 卫超越
     * @Date: 2017/12/12 下午9:20
     * @return:
     */
    Integer creatOrder(DtoOrderAllInfo dtoOrderAllInfo,Integer creat) throws Exception;

    /**
     * @Description: 未完成订单数量
     * @Author: 卫超越
     * @Date: 2017/12/28 下午2:49
     * @return:
     */
    Integer getHisOrderDataTableCount(String search, Integer pre, Integer actorId) throws Exception;

    /**
     * @Description: 未完成订单信息
     * @Author: 卫超越
     * @Date: 2017/12/28 下午2:55
     * @return:
     */
    List<DtohisOrder> getHisOrderDataTable(DtoDataTable dtoDataTable, Integer pre, Integer actorId) throws Exception;

    /**
     * @Description: 获取订单状态
     * @Author: 卫超越
     * @Date: 2017/12/28 下午10:17
     * @return:
     */
    Integer chageOrderStatus(Integer orderId,Integer orderStatus) throws Exception;

}
